import request from '@/utils/request'

// 查询预约查询列表
export function listRoomReservation(query) {
  return request({
    url: '/housing/reservation/list',
    method: 'get',
    params: query
  })
}
// 省市县
export function listRegion() {
  return request({
    url: '/housing/reservation/region',
    method: 'get'
  })
}

// 修改状态
export function updateRoomReservationStatus(params) {
  return request({
    url: '/housing/reservation/updateStatus',
    method: 'post',
    data: params
  })
}
